package com.weixing.mall.provider.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.base.constant.DatePattern;
import com.weixing.mall.provider.api.model.enums.AgentLevelEnum;
import com.weixing.mall.provider.api.model.enums.ProfitFromEnum;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author wx
 * @Date 2019/10/16 14:30
 * @Version 1.0
 */
@Data
public class AgentWithdrawBonusVo {
    private Long id;
    private BigDecimal bonusAmount;
    private ProfitFromEnum bonusType;
    private AgentLevelEnum agentLevel;
    private String orderSn;
    private BigDecimal orderPrice;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern= DatePattern.NORM_DATETIME_PATTERN)
    private Date createdTime;
}
